package com.ruoyi.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机人脸识别信息对象 driver_user
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
public class DriverUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 性别 */
    @Excel(name = "性别")
    private String driverSex;

    /** 民族 */
    @Excel(name = "民族")
    private String driverNation;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String driverBirth;

    /** 住址 */
    @Excel(name = "住址")
    private String driverAddress;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** token信息 */
    @Excel(name = "token信息")
    private String faceToken;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }

    public void setDriverSex(String driverSex) 
    {
        this.driverSex = driverSex;
    }

    public String getDriverSex() 
    {
        return driverSex;
    }

    public void setDriverNation(String driverNation) 
    {
        this.driverNation = driverNation;
    }

    public String getDriverNation() 
    {
        return driverNation;
    }

    public void setDriverBirth(String driverBirth) 
    {
        this.driverBirth = driverBirth;
    }

    public String getDriverBirth() 
    {
        return driverBirth;
    }

    public void setDriverAddress(String driverAddress) 
    {
        this.driverAddress = driverAddress;
    }

    public String getDriverAddress() 
    {
        return driverAddress;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setFaceToken(String faceToken) 
    {
        this.faceToken = faceToken;
    }

    public String getFaceToken() 
    {
        return faceToken;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverName", getDriverName())
            .append("driverSex", getDriverSex())
            .append("driverNation", getDriverNation())
            .append("driverBirth", getDriverBirth())
            .append("driverAddress", getDriverAddress())
            .append("idCard", getIdCard())
            .append("faceToken", getFaceToken())
            .append("createTime", getCreateTime())
            .toString();
    }
}
